package org.wedding.center.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 首页文章表(ArticleInfo)实体类
 *
 * @author songkaiyue
 * @since 2025-05-16 10:42:49
 */
@TableName(value = "article_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ArticleInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 唯一标识
     */
    @Schema(description = "唯一标识")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

     /**
     * 文章标题
     */
    @Schema(description = "文章标题")
    @TableField(value = "title")
    private String title;
    

     /**
     * 文章内容
     */
    @Schema(description = "文章内容")
    @TableField(value = "content")
    private String content;

     /**
     * 文章分类
     */
    @Schema(description = "文章分类")
    @TableField(value = "category")
    private String category;

     /**
     * 图片地址
     */
    @Schema(description = "图片地址")
    @TableField(value = "picture_url")
    private String pictureUrl;
    

     /**
     * 排序序号
     */
    @Schema(description = "排序序号")
    @TableField(value = "sort_num")
    private Integer sortNum;


     /**
     * 是否推荐 0：是 1：否
     */
    @Schema(description = "是否推荐")
    @TableField(value = "is_commend")
    private String isCommend;
    

     /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private String createTime;
    

     /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    @TableField(value = "update_time")
    private String updateTime;
    

     /**
     * 删除标识：0:未删除  1:已删除
     */
    @Schema(description = "删除标识：0:未删除  1:已删除")
    @TableField(value = "del_flag")
    private String delFlag;

}

